﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

public class ApplesAndPears
{
    public int getArea(string[] board, int K)
    {
        int N = board.Length;

        List<Tuple<int, int, int, int>> squareList = new List<Tuple<int,int,int,int>>();
        for ( int i = 0 ; i < N ; i++ ) 
            for ( int j = i+1 ; j < N ; j++ ) 
                for ( int k = 0 ; k < N ; k++ ) 
                  for ( int l = k+1 ; l < N ; l++ ) 
                      squareList.Add(Tuple.Create(i, j, k, l));

        int maxSquare = 0;
        for (int k = 0; k < K; k++)
        {
        }
        return maxSquare;
    }
}

public class CatAndRat
{
    public double getTime(int R, int T, int Vrat, int Vcat)
    {
        if ( Vrat >= Vcat ) return -1;

        double time = 0d;
        double rPos = 0d;
        rPos = Math.Min(Math.PI*R, Vrat*T);
        time = rPos / (Vcat-Vrat);
        return time;
    }
}


public class CatchTheBeatEasy
{
    public string ableToCatchAll(int[] x, int[] y)
    {
        int curX = 0;
        int curY = 0;
        for ( int i = 0 ; i < x.Length ; i++ ) {
            if (Math.Abs(x[i] - curX) > y[i]-curY) return "Not able to catch";
            curX = x[i];
            curY = y[i];
        }
        return "Able to catch";
    }
}
